package com.cskaoyan.service;

import com.cskaoyan.bean.order.Order;
import com.cskaoyan.bean.order.OrderData;
import com.cskaoyan.bean.order.OrderGoods;
import com.cskaoyan.bean.param.BaseParam;

import java.util.List;

public interface OrderService {
    OrderData queryOrders(BaseParam param, Integer[] orderStatusArray, String start, String end, Integer userIdInt, Integer orderSnInt);

    List<OrderGoods> queryOrderGoods(Integer id);

    Order queryOrderById(Integer id);

    Integer updateShip(Integer orderId, String shipChannel, String shipSn);

    Integer updateRefund(Integer orderId, Integer refundMoney);

    Integer delete(Integer orderId);
}
